package com.solve.dao;

import com.solve.entity.ResourceInfoUser;
import com.solve.entity.ResourceInfoUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResourceInfoUserMapper {
    int countByExample(ResourceInfoUserExample example);

    int deleteByExample(ResourceInfoUserExample example);

    int deleteByPrimaryKey(String uuid);

    int insert(ResourceInfoUser record);

    int insertSelective(ResourceInfoUser record);

    List<ResourceInfoUser> selectByExampleWithBLOBs(ResourceInfoUserExample example);

    List<ResourceInfoUser> selectByExample(ResourceInfoUserExample example);

    ResourceInfoUser selectByPrimaryKey(String uuid);

    int updateByExampleSelective(@Param("record") ResourceInfoUser record, @Param("example") ResourceInfoUserExample example);

    int updateByExampleWithBLOBs(@Param("record") ResourceInfoUser record, @Param("example") ResourceInfoUserExample example);

    int updateByExample(@Param("record") ResourceInfoUser record, @Param("example") ResourceInfoUserExample example);

    int updateByPrimaryKeySelective(ResourceInfoUser record);

    int updateByPrimaryKeyWithBLOBs(ResourceInfoUser record);

    int updateByPrimaryKey(ResourceInfoUser record);

    ResourceInfoUser selectResourceInfoUserDetailByPrimaryKey(String uuid);

    int addResourceInfoUDownloadNum(ResourceInfoUser record);

    int updateResourceInfoGrade(ResourceInfoUser resourceInfoUser);
}